package com.zimin.cloud.user.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zimin.mapper.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 权限控制--角色页面菜单关联表
 * </p>
 *
 * @author zimin
 * @since 2022-06-14 15:53
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("mine_auth_role_menu")
@ApiModel(value = "AuthRoleMenu对象", description = "权限控制--角色页面菜单关联表")
public class AuthRoleMenu extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("角色id")
    @TableField("role_id")
    private Long roleId;

    @ApiModelProperty("页面菜单id")
    @TableField("menu_id")
    private Long menuId;


}
